package au.com.handsunited.dao;

import java.util.List;

import au.com.handsunited.model.Project;

/**
 * @author arunda
 *
 */
public interface ProjectDAO {

	/**
	 *
	 * @param project
	 */
	Project createProject (Project project);

	/**
	 *
	 * @param project
	 * @return
	 */
	Project updateProject(Project project);

	/**
	 *
	 * @param projectId
	 * @return
	 */
	Project getProject (Long projectId);

	/**
	 *
	 * @return
	 */
	List<Project> getProjects();

	/**
	 *
	 * @param keywords
	 * @return
	 */
	List<Project> searchForProjectsByKeywords(String keywords);

	/**
	 *
	 * @param searchCriteria
	 * @return
	 */
	List<Project> searchForProjectsByCriteria(Project searchCriteria);

}
